import sys
from PyQt5.QtWidgets import QApplication, QMainWindow
from helloworld import Ui_MainWindow
# import pics_ui_rc # 导入添加的资源（根据实际情况填写文件名）
app = QApplication(sys.argv)
MainWindow = QMainWindow()
ui = Ui_MainWindow()
ui.setupUi(MainWindow)
MainWindow.show()
sys.exit(app.exec_())